Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NODE-6399): support new options arguments #48

Merged
merged 4 commits into from
Sep 27, 2024
Merged

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Sep 25, 2024

Description

What is changing?

Added support for optional options argument in certain GridFSBucket methods and ChangeStream.close

Is there new documentation needed for these changes?

No

What is the motivation for this change?

NODE-6399

Release Highlight

Internal MongoDB Driver fix

Note

A correction has been made to an API that is only relevant to driver internals. There are no public-facing API changes in this fix.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@W-A-James W-A-James changed the title feat(NODE-6399): support new gridfs options arguments feat(NODE-6399): support new options arguments Sep 26, 2024
@W-A-James W-A-James marked this pull request as ready for review September 26, 2024 15:15
@aditi-khare-mongoDB aditi-khare-mongoDB self-assigned this Sep 26, 2024
Copy link
Contributor

@aditi-khare-mongoDB aditi-khare-mongoDB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, can you update the ticket description to reflect the changes made? Right now it's just the template.

test/unit/legacy_wrappers/gridfs.test.js Outdated Show resolved Hide resolved
Copy link
Contributor

@aditi-khare-mongoDB aditi-khare-mongoDB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving to team review, left a comment open though.

@nbbeeken
Copy link
Collaborator

Can we align with: #45

This was the highlight there and we published it as a fix, we are not updating the type definitions here so mongodb-legacy users "can't" use these new option objects.

Internal MongoDB Driver fix

Note

A correction has been made to an API that is only relevant to driver internals. There are no public-facing API changes in this fix.

aditi-khare-mongoDB

This comment was marked as duplicate.

@W-A-James W-A-James changed the title feat(NODE-6399): support new options arguments fix(NODE-6399): support new options arguments Sep 27, 2024
@aditi-khare-mongoDB aditi-khare-mongoDB merged commit 225cb64 into main Sep 27, 2024
8 checks passed
@aditi-khare-mongoDB aditi-khare-mongoDB deleted the NODE-6399 branch September 27, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants